home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
ForCLI
/
0Utils13.lha
/
0Utils
/
Make_IconXX.doc
< prev
next >
Wrap
Text File
|
1995-04-10
|
1KB
|
41 lines
Make_IconXX
How about a version of IconX, that does not only execute
scriptfiles, but also executables? the modified Program
still handles scripts as long, as they have the 'S' bit
(scriptbit) set.
For this patch to work, You must ensure, that SRunSX is
in Your Workbench's search path (e.g. resident or in C:
or an "Alias SRun path_to_srun []" in Your user-startup)
Sorry for not including the Ready file, but IconX is CBM
copyright, and this is only a patch...
U need at least one of SED, REPLACE _or_ SPLAT for the
patch (unfortunately c:Edit can not handle binary files),
then call the right one of the following lines:
> sed -e "s/Execute/SRunSX /g" < c:IconX > IconXX
or
> copy c:IconX IconXX
> splat -o Execute "SRunSX " IconXX
or
> Replace Execute "SRunSX " c:IconX TO IconXX
SPLAT is part of SAS/C.
SED is found on AmiNET, Fish or part of GNU/C.
REPLACE is one of my filters (might found together
w/ that archive).
The resulting binary executable may grow one byte
if using SED, but that does not matter. It's due to
the fact SED appends one newline to the executable.
Alternatively U may erase the string "Execute"
manually in a copy of c:IconX manually with a
binary editor, replacing it with SRunSX.
Calling the script 'Make_IconXX' does the action 4 U